Measuring Cohesion and Coupling in Object Oriented System Using Java Reflection

نویسندگان

  • N. Rajkumar
  • C. Viji
  • S. Duraisamy
چکیده

Creating an efficient and effective system is a motto of a software engineer. The companies are spending 60% of cost for producing good quality software, software metrics require to measure qualitative in terms of software performance and reliability related characteristics like dependencies, coupling and cohesion etc. This paper proposes a set of new measures to find coupling and cohesion in a developmental system using Java reflection components to assess the usability. It will predict the fault in an object oriented system. Coupling and cohesion metrics are calculated by considering a number of relationships of a class. In this paper these metrics are calculated by using structural parameters like classes, methods and attributes. The structured information embedded in the source code. Classes, methods and attributes are retrieved in a package by using Java reflection. The retrieved information helps to measure the coupling and cohesion.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Empirical Exploration for the Correlation between Class Object-Oriented Connectivity-Based Cohesion and Coupling

Attributes and methods are the basic contents of an object-oriented class. The connectivity among these class members and the relationship between the class and other classes play an important role in determining the quality of an object-oriented system. Class cohesion evaluates the degree of relatedness of class attributes and methods, whereas class coupling refers to the degree to which a cla...

متن کامل

Investigating effect of Design Metrics on Fault Proneness in Object-Oriented Systems

Demand for quality software has undergone with rapid growth during the last few years. This is leading to an increase in the development of metrics for measuring the properties of software such as coupling, cohesion or inheritance that can be used in early quality assessments. Quality models that explore the relationship between these properties and quality attributes such as fault proneness, m...

متن کامل

A Novel Class, Object and Inheritance based Coupling Measure (COICM) to Find Better OOP Paradigm using JAVA

The extent of coupling and cohesion in an objectoriented system has implications for its external quality. Various static coupling and cohesion metrics have been proposed and used in past empirical investigations; however none of these have taken the run-time properties of a program into account. As program behavior is a function of its operational environment as well as the complexity of the s...

متن کامل

A Class Cohesion Metric Focusing on Cohesive-Part Size

Cohesion is an important software attribute, and it is one of significant criteria for assessing object-oriented software quality. Although several metrics for measuring cohesion have been proposed, there is an aspect which has not been supported by those existing metrics, that is “cohesive-part size.” This paper proposes a new metric focusing on “cohesive-part size,” and evaluates it in both o...

متن کامل

Predicting Maintainability with Object-Oriented Metrics - An Empirical Comparison

A large number of metrics have been proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling. We have been investigating which of these object-oriented metrics can be used as significant predictors for the maintainability of software. For this purpose, we have designed and conducted an empirical study based on historical data collected from ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015